package com.hdoit.ares.web.brokerage.modelconfig;

import com.hdoit.ares.web.brokerage.providers.ConfirmStateProvider;
import com.tennetcn.component.attribute.DisplayNameAttribute;
import com.tennetcn.component.attribute.DropDownListAttribute;
import com.tennetcn.component.attribute.base.ModelMetadataAttributeConfiguration;

public class ShareBrokerageSearchConfig extends ModelMetadataAttributeConfiguration{
	public ShareBrokerageSearchConfig(){
        this.setProperty("confirmState")
            .hasAttribute(new DisplayNameAttribute("确认状态"))
            .hasAttribute(new DropDownListAttribute(new ConfirmStateProvider("senior")));

        this.setProperty("startMoney")
            .hasAttribute(new DisplayNameAttribute("佣金从"));

        this.setProperty("endMoney")
            .hasAttribute(new DisplayNameAttribute("到"));

        this.setProperty("startDate")
            .hasAttribute(new DisplayNameAttribute("时间从"));

        this.setProperty("endDate")
            .hasAttribute(new DisplayNameAttribute("到"));

        this.setProperty("customerName")
            .hasAttribute(new DisplayNameAttribute("客户"));

        this.setProperty("userIdentity")
            .hasAttribute(new DisplayNameAttribute("客户编号"));
        
        this.setProperty("orderSn")
        	.hasAttribute(new DisplayNameAttribute("订单号"));
       
        this.setProperty("policyNo")
        	.hasAttribute(new DisplayNameAttribute("保单号"));

    }
}
